<%@ page language="java" pageEncoding="UTF-8"%>
<%@include file="/page/util/include.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>窝边网商家登录</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/ui/css/containers.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/ui/css/login.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/ui/js/jQuery-1.3.2.js"></script>
<script language="javascript"> 
function reloadImage(){
	document.getElementById("randImage").src = "${pageContext.request.contextPath}/page/util/verify.jsp?"+Math.random(); 
} 
</script> 
</head>
<body>
<div class="containers">
 <div class="login_top">
   <div class="login_top_left"><a href="#"><img src="${pageContext.request.contextPath}/ui/images/logo1.jpg" /></a><img src="${pageContext.request.contextPath}/ui/images/logo2.jpg" /></div>
   <div class="login_top_right"><a href="#">加入桌面快捷</a>|<a href="#">加入收藏夹</a>|<a href="#">设为首页</a></div>
 </div>
 <div class="login_line"></div>
 <div class="login_main">
  <div class="login_main_left"><img src="${pageContext.request.contextPath}/ui/images/login/login_photo.jpg" alt="窝边网让你店的生意翻倍" /></div>
  <div class="login_main_right">
   <div class="login_busine_num">已有<font class="Login_busine_num_font">4,234,456 </font>商家入驻</div>
   <div class="login_enter">
   <form id="loginForm" action="${pageContext.request.contextPath}/page/shop/login" method="post">
     <c:if test="${not empty message}">
     <table width="100%" border="0" class="errorMessage" cellspacing="0" cellpadding="0">
      <tr>
        <td><c:out value="${message}" /></td>
      </tr>
     </table>
     </c:if>
     <table width="100%" class="login_enter_table1" border="0" cellspacing="0" cellpadding="0">
      <tr height="49">
        <td width="24%" align="right">账号：</td>
        <td width="76%"><input name="account" class="login_input" style="width:200px;" /></td>
      </tr>
      <tr height="49">
        <td  align="right">密码：</td>
        <td><input name="password" class="login_input" type="password" style="width:200px;" /></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><font color="#c4c2c2">234秒后重新获取</font><a href="#">获取手机动态密码</a></td>
      </tr>
    </table>
    <table width="100%" border="0" class="login_enter_table4" cellspacing="0" cellpadding="0">
      <tr>
        <td width="24%" align="right">验证码：</td>
        <td width="22%"><input class="login_input" style="width:73px;" /></td>
        <td width="26%"><img id="randImage" style="width:80px;height:22;" src="${pageContext.request.contextPath}/page/util/verify.jsp" /></td>
        <td width="28%"><a onclick="reloadImage()" href="javascript:void(0);">看不清<br />换一张</a></td>
      </tr>
    </table>
    <table width="100%" class="login_enter_table2" border="0" cellspacing="0" cellpadding="0">
      <tr> 
        <td width="48%" align="right"><input type="button" onclick="javascript:$('#loginForm').submit();" class="login_but" value="登  录" /></td>
        <td width="52%"><a href="${pageContext.request.contextPath}/page/shop/seekPassword.jsp">忘记密码？</a></td>
      </tr>
    </table>
    <table width="100%" class="login_enter_table3" border="0" cellspacing="0" cellpadding="0">
      <tr height="35">
        <td align="right"><a href="${pageContext.request.contextPath}/page/shop/registration.jsp">快速注册</a></td>
      </tr>
    </table>
	</form>
   </div>
  </div>
 </div>
 <div class="bottom">
   © 2012 上海正岸网络科技有限公司 版权所有
 </div>
</div>
</body>
</html>
`